import { createStore, applyMiddleware } from "redux"
import { loginReducer } from "./loginReducer"

import logger from "redux-logger"
import thunk from "redux-thunk"

export const store = createStore(loginReducer, applyMiddleware(thunk, logger))